<% if @success %>
    $('#<%= dom_id(@success) %>').remove();
    $('span#comments-count').html("({0})".format(<%= @count %>))
    ShowNotify("<%= t('comments.destroy.success') %>", "");
<% else %>
    ShowNotify("<%= t('comments.destroy.error') %>", "alert");
<% end %>